package model.produkt;

import javax.xml.bind.annotation.*;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User:   kosta
 * Date:   3/10/13
 * Time:   9:46 PM
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@XmlRootElement(name = "produktKategori")
public class ProduktKategori {
    private int id;
    @XmlElement(nillable = true)
    private String kodi;
    @XmlElement(nillable = true)
    private String emri;
    @XmlElement(nillable = true)
    private String pershkrimi;
    private int status;

    public ProduktKategori(){
        this(0,"","","",0);
    }

    public ProduktKategori(int id, String kodi, String emri, String pershkrimi, int status) {
        this.id = id;
        this.kodi = kodi;
        this.emri = emri;
        this.pershkrimi = pershkrimi;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getKodi() {
        return kodi;
    }

    public void setKodi(String kodi) {
        this.kodi = kodi;
    }

    public String getEmri() {
        return emri;
    }

    public void setEmri(String emri) {
        this.emri = emri;
    }

    public String getPershkrimi() {
        return pershkrimi;
    }

    public void setPershkrimi(String pershkrimi) {
        this.pershkrimi = pershkrimi;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
